﻿using System;
using System.Data;

namespace NiuX.Utils.AnyDBConfigProvider;

public class DbConfigOptions
{
    public Func<IDbConnection> CreateDbConnection { get; set; }

    public string TableName { get; set; }

    public bool ReloadOnChange { get; set; }

    public TimeSpan? ReloadInterval { get; set; }
}